<template>
  <div class="campus-container">
    <h2>你好,这里是温州理工茶山校区</h2>
    <div class="building-links">
      <router-link to="/chashan/building5" class="building-link">五号楼</router-link>
      <router-link to="/chashan/building6" class="building-link">六号楼</router-link>
      <router-link to="/chashan/building7" class="building-link">七号楼</router-link>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'CampusChashan'
}
</script>

<style scoped>
.campus-container {
  padding: 20px;
  text-align: center;
}
.building-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}
.building-link {
  padding: 10px 20px;
  background-color: #42b983;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}
.building-link:hover {
  background-color: #3aa876;
}
</style>